import request from '@/utils/request'

// 查询实验结果列表
export function listExperimentResult(query) {
  return request({
    url: '/ruoyiyinzheng/experimentResult/list',
    method: 'get',
    params: query
  })
}

// 查询实验结果详细
export function getExperimentResult(id) {
  return request({
    url: '/ruoyiyinzheng/experimentResult/' + id,
    method: 'get'
  })
}

// 新增实验结果
export function addExperimentResult(data) {
  return request({
    url: '/ruoyiyinzheng/experimentResult',
    method: 'post',
    data: data
  })
}

// 修改实验结果
export function updateExperimentResult(data) {
  return request({
    url: '/ruoyiyinzheng/experimentResult',
    method: 'put',
    data: data
  })
}

// 删除实验结果
export function delExperimentResult(id) {
  return request({
    url: '/ruoyiyinzheng/experimentResult/' + id,
    method: 'delete'
  })
}
